package com.example.service;

import com.example.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Renzhiping on 2018/1/17.
 */
public interface UserService {

    User getUserById( Long id);

    List<User> getUserList();

    void add(User user);

    void update(  User user);

    void delete(Long id);
}
